//
//  ViewController.m
//  GCWSDKDemo
//
//  Created by 陈超 on 2016/12/29.
//  Copyright © 2016年 陈超. All rights reserved.
//

#import "ViewController.h"
#import "CameraVC.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [self initView];
}
-(void)initData{
    
}
-(void)initView{

}
- (IBAction)showDemo:(id)sender {
    NSURL *lyricUrl=[[NSBundle mainBundle] URLForResource:@"千里祝平安" withExtension:@"lrc"];
    NSURL *mp3Url=[[NSBundle mainBundle] URLForResource:@"千里祝平安" withExtension:@"mp3"];
    CameraVC *cameraVC=[CameraVC new];
    cameraVC.lyricUrl=lyricUrl;
    cameraVC.mp3Url=mp3Url;
    cameraVC.songName=@"千里祝平安";
    [self.navigationController pushViewController:cameraVC animated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
